package com.yf.dmp.dao;


import com.yf.dmp.bean.SystemInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SystemInfoDao {
    public List<SystemInfo> getSystemInfo(@Param("code") String code, @Param("pageStart") int pageStart, @Param("pageSize") int pageSize);
    public int addSystemInfo(SystemInfo sl);
    public int getSystemInfoCount(@Param("code") String code);
    public int deleteSystemInfoById(@Param("id") int id);
    public SystemInfo getUpdateSystemInfo(@Param("id") int id);
    public int updateSystemInfo(SystemInfo sl);
}
